POV-Ray : Newsgroups : povray.macintosh : Allocating further than 128 to POV : Re: cache hit rate Server Time
3 Jul 2024 04:53:22 EDT (-0400)
  Re: cache hit rate  
From: Alberto
Date: 10 Aug 1999 11:16:36
Message: <37B042CA.8624B5C6@ma.usb.ve>
BTW. I have set the memory cache to largest, and of course, negative values also
appear on completely rendered images.

Alberto.

I don't know if of any use, but here is the code of the example.

global_settings{max_trace_level 90}

camera{location 10*<0,5,-5> look_at 0 angle 7.25}

light_source{<-4,4,-4> rgb 1}

light_source{< 4,4,-4> rgb 1}

sky_sphere{
  pigment{bozo color_map{
      [0  rgb <1,.5,0>] [1 rgb .5* <1,.5,0>]
    }
  }
}

disc{-3*y y 10
  pigment{checker rgb <1,.5,0>, rgb .5* <1,.5,0>}
  rotate 30*y
}

#macro Knot(m, r, n, th)
  #local mp = m+1; #local k = 0;
  blob{threshold th
    #while(k < n)
    #local s = 2*pi*k/n;
      sphere{
        < (2 + cos(mp*s))*cos(m*s), 2*sin(mp*s),
         (2 + cos(mp*s))*sin(m*s)
        >, r, 1
      }
      #local k = k + 1;
    #end
  }
#end

object{Knot(3 .6 1500 4)
   finish{ ambient 0 diffuse 0
   specular 1 roughness .002}
   interior{ior 1.1 caustics .1}
   pigment{rgbf <1,1,1,.9>}
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.